package com.yunxin.core.infra.common.product.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-07-17
 */
@Getter
public enum ProductAbutmentTypeEnum implements IBaseEnum<Integer> {

    /**
     * 对接方式 1.自营 2.h5 3.api 4.企业微信
     */
    SUPPORT_SELF_SUPPORT(1, "自营"),

    H5(2, "h5"),

    API(3, "api"),

    ENTERPRISE_WECHAT(4, "企业微信"),
    WECHAT_OFFICIAL_ACCOUNT(5, "微信公众号"),
    ;

    private final Integer value;

    private final String label;

    ProductAbutmentTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
